package cn.tedu.charging.order.feign;

import cn.tedu.charging.common.pojo.vo.VehicleVO;
import cn.tedu.charging.common.protocol.JsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

//charging-user
@FeignClient(name = "charging-user")
public interface UserClient {
    @GetMapping("/user/vehicle/binded/{userId}")
    public JsonResult<VehicleVO> bindedVehicle(@PathVariable(value="userId") Integer userId);
}
